package com.tutu.jwt.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tutu.jwt.dao.UserMapper;
import com.tutu.jwt.entity.User;
import com.tutu.jwt.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @Program: SpringBoot
 * @Description:
 * @Author: JK.TuTu
 * @ @Version: 1.0
 * @Create: 2022-11-28 19:23
 **/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public User login(User user) {
        return this.getById(user.getId());
    }
}
